package com.example.codeservice.service.impl;

import com.example.codeservice.service.EmailServiceFeignClient;
import org.springframework.stereotype.Component;

/**
 * @author zhouyp
 * @program example-parent
 * @description
 * @create 2020-07-27
 */
@Component
public class EmailServiceFallback implements EmailServiceFeignClient {

	@Override
	public boolean sendEmail(String email, String code) {
		System.out.println("熔断：EmailServiceFallback.sendEmail");
		return false;
	}
}
